#include<iostream>
#include<cstring>
using namespace std;

int main()
{
 char s[10];
 int i,j,k=1;
 cout<<"introduceti cuvantul: ";cin>>s;
 for(i=0;i<strlen(s);i++)
  
 for(j=i+1;j<strlen(s);j++)
   if(s[i]!=s[j])
    k=0;
if(k==0)
 cout<<"cuv are literele distincte ";
  else
  cout<<"cuv nu are literele distincte ";
}

